<!doctype html>
<html lang="fr">
<head>
<?php echo $library_src;?>
<meta charset="utf-8" />
</head>



<body>
<h1> Gerer mon compte</h1>
	<fieldset>
     	<legend>Login</legend>
    	 <label>Login :  <?php echo $user->getLogin(); ?></label><br><br>
	</fieldset>
	<br>
	<fieldset>
		<legend>Password</legend>
		<label>Password :  ******</label> <br><br>
		<input type="button" id="BtnMDP" value="changer password" />
		<form id="password" name="password"><br>
    		 <input type="password" id="AncienPassword" name="AncienPassword" placeholder="Ancien mot de passe" required><br>
    		 <input type="password" id="AncienPassword2" name="AncienPassword2" placeholder="Ancien mot de passe" required><br>
    		 <input type="password" id="NewPassword" name="NewPassword" placeholder="Nouveau mot de passe" required><br><br>
   			 <input type="button" id="BtnValider1" value="Valider" /> <input type="button" id="LienRetourMDP" value="Fermer" /><br>
      		 <div id="MsgPasse" name="MsgPasse"></div>
		</form>
	<br>

	</fieldset>
          
	<br>
     
	<fieldset>
		<legend>Information Perso</legend>
		<label>Nom :  <?php echo $user->getNom() ?></label> <br>
     	<label>Prenom :  <?php echo $user->getPrenom()."       "?></label><br><br>
     	<input type="button" id="BtnInfo" value="changer info" />
    	<form id="info" name="info" class="info"><br>
			<input type="text" id="Nom" name="Nom" placeholder="Nouveau nom" required><br>
      		<input type="text" id="Prenom" name="Prenom" placeholder="Nouveau prenom" required><br>
       		<input type="button" id="BtnValider2" value="Valider" /><input type="button" id="LienRetourInfo" value="Fermer" /><br>
       		<div id="MsgInfo" name="MsgInfo"></div>
		</form>
	<br>
      
	</fieldset>
       
	<br>

	<fieldset>
		<legend>Email</legend>
     	<label>Email :  <?php echo $user->getMail()."      "?></label><br><br>
        <input type="button" id="BtnEmail" value="changer Email" />
     	<form id="divEmail" name="divEmail"><br>
			<input type="password" id="AncienPassword" name="AncienPassword" placeholder="Ancien mot de passe" required><br>
      		<input type="password" id="AncienPassword2" name="AncienPassword2" placeholder="Ancien mot de passe" required><br>
      		<input type="email" id="Email" name="Email" placeholder="Nouvelle email" required
      		oninput="check(this)"><br>
     		<input type="button" id="BtnValider3" value="Valider" /><input type="button" id="LienRetourEmail" value="Fermer" /><br>
       		<div id="MsgEmail" name="MsgEmail"></div>
		</form>
	<br>
	
	</fieldset>
	 
	<fieldset>
     	<legend>Divers</legend>
      	<label>Groupe :   <?php echo $user->getGroupe()->getLibelle() ?></label><br>
        <label>Monde :  <?php echo $user->getMonde()->getLibelle() ?></label><br><br>
	</fieldset>
    

</body>
</html>
<?php 
echo $script_foot;?>